<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>IOT LAO WANG</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
  </head>
  <body>
    <h1>Console test</h1>
    <h1>JavaScript console.log() 方法</h1>
    <p>按下 F12 查看控制台信息。</p>
    <p><button onclick="trige_waring()">Don't clike me</button></p>
    <script>
      var count = 0;
      function trige_waring() {
        var myObj = { name : "LaoWang", say : "Ohh, you click me" };
        console.log(myObj);
        console.log("click_count=", count);
        count = count + 1;
      }
    </script>
  </body>
</html>